<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!--
 * @Descripttion: 
 * @Author: whyjs
 * @Date: 2022-04-21 11:31:21
 * @LastEditors: whyjs
 * @LastEditTime: 2023-02-03 15:34:36
-->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
        <title>供应链金融平台</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <link rel="stylesheet" href="${pageContext.request.contextPath }/client/css/reg_header.css">
        <script src="${pageContext.request.contextPath }/client/js/jquery.min.js"></script>
        <script charset="UTF-8" src="${pageContext.request.contextPath }/client/js/reg.js"></script>
        <!--[if lt IE 9]>
            <script src="/avic/js/jquery-1.9.1.min.js"></script>
        <![endif]--> 
        <script src="${pageContext.request.contextPath }/client/js/layui.js"></script>
        <link rel="stylesheet" href="${pageContext.request.contextPath }/client/css/layui.css" />
<!-- reset 必须在common 后面 -->
<link rel="stylesheet" href="${pageContext.request.contextPath }/client/css/layout.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath }/client/css/common.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath }/client/css/reset.css" />

        <script src="${pageContext.request.contextPath }/client/js/common.js"></script>
        <link href="${pageContext.request.contextPath }/client/images/favicon.ico" id="faviconIco" type="image/x-icon" rel="shortcut icon" />
        <script>
            fnBase.ENV = "prod";
            fnBase.baseUrl = "https://gjapi.aero-credit.com";
            fnBase.httpUrl = "";
        </script>
	</head>
	<body style="background:  #F7F7F7;">
<link rel="stylesheet" href="${pageContext.request.contextPath }/client/css/reg.css">
<style>
    .reg_backgroud{
        min-height: 900px;
        padding-top: 120px;
        background-image: url('${pageContext.request.contextPath }/client/images/reg2.png');
        /*IE8 图片透明不可用filter*/
        -ms-behavior: url('${pageContext.request.contextPath }/client/images/background.htc');
        behavior:url('${pageContext.request.contextPath }/client/images/background.htc');
        background-position: left top;
        background-size: cover;
        background-repeat: no-repeat;
    }
</style>
<div class="reg_backgroud">

    <div class="reg-header-img">
        <img channel="src" data-channelkey="platformLogoFileLink" src="" alt="" >
        <span style="padding-left: 30px;padding-right:10px;">|</span>
        <span>账号注册</span>
    </div>
    
    <div class="zc_main comm_text_link_color" onclick="fnBase.goLogin()" class="hx-btn-text">已有账号，去登录</div>
    <div class="reg_main layui-form ">
        <!-- 企业名称开始 -->
        <div class="ipt_one" id="companyName">
            <div class="ipt_left">
                <span class="ipt_require">*</span>
                企业名称
            </div>
            <div class="ipt_right">
                <input onkeyup="checkInputFn('companyNameVal')" onblur="checkCompanyInfo()"  class="layui-input ipt_txt" type="text" name="" id="companyNameVal" placeholder="请输入企业名称">
            </div>
        </div>
        <!-- 企业名称结束 -->
        <!-- 统一社会信用代码开始 -->
        <div class="ipt_one" id="companyCard">
            <div class="ipt_left">
                <span class="ipt_require">*</span>
                统一社会信用代码
            </div>
            <div class="ipt_right">
                <input maxlength="18" onblur="checkCompanyCardVal()"  class="layui-input ipt_txt"  type="text" name="companyCardVal" id="companyCardVal" placeholder="请输入统一社会信用代码">
            </div>
        </div>
        <!-- 统一社会信用代码结束 -->
        <!-- 用户名开始 -->
        <div class="ipt_one" id="userName">
            <div class="ipt_left">
                <span class="ipt_require">*</span>
                登录账号
            </div>
            <div class="ipt_right">
                <input autocomplete="off" onkeyup="checkInputFn('userNameVal')" onblur="checkUserIsExist()" class="layui-input ipt_txt" type="text" name="" id="userNameVal" placeholder="请输入用户名">

            </div>
        </div>
        <!-- 用户名结束 -->
         <!-- 注册角色开始 -->
         <div class="ipt_one" id="userIdentity">
            <div class="ipt_left" style="height: 36px;line-height: 36px;">
                <span class="ipt_require">*</span>
                注册角色
            </div>
            <div class="ipt_right"  style="height: 36px;" > 
                <div class="layui-form" >
                    <div class="layui-form-item">
                        <div class="layui-input-block" style="margin-left: 0;">
                          <input type="radio" name="identity" value="1" title="核心企业" checked>
                          <input type="radio" name="identity" value="2" title="商业银行" >
                          <input type="radio" name="identity" value="3" title="链条企业" >
                        </div>
                    </div>
                </div>            
            </div>
        </div>
         
        <!-- 注册角色结束 -->
        <!-- 账号密码开始 -->
        <div class="ipt_one" id="userPwd">
            <div class="ipt_left">
                <span class="ipt_require">*</span>
                账号密码
            </div>
            <div class="ipt_right">
                <input onblur="userPwdValBlur()"  autoComplete="new-password" onkeyup="pwdstrength()" id="userPwdVal" class="layui-input ipt_txt" onKeyDown="var event = window.event || event;if(this.value.length >= 16 && event.keyCode != 8 ){ return false }" type="password" name=""  placeholder="请输入密码">
            </div> 
        </div>
        <!-- 账号密码结束 -->
        <!-- 密码强度开始 -->
        <div class="pwd_strength">
            <div class="pwd_strength_main">
                <div class="left">弱</div>
                <div class="center">中</div>
                <div class="right">强</div>
            </div>
        </div>
        <!-- 密码强度结束 -->
        <!-- 确认密码开始 -->
        <div class="ipt_one" id="userPwdAgain">
            <div class="ipt_left">
                <span class="ipt_require">*</span>
                确认密码
            </div>
            <div class="ipt_right">
                <input onblur="checkInputFn('userPwdAgainVal')" id="userPwdAgainVal" class="layui-input ipt_txt" type="password" name=""  onKeyDown="var event = window.event || event;if(this.value.length >= 16 && event.keyCode != 8 ){ return false }" placeholder="请再次输入密码">
            </div>
        </div>
        <!-- 确认密码结束 -->
        <!-- 手机号码开始 -->
        <div class="ipt_one" id="userMobile">
            <div class="ipt_left">
                <span class="ipt_require">*</span>
                手机号码
            </div>
            <div class="ipt_right">
                <input onblur="checkInputFn('userMobileVal')"  class="layui-input ipt_txt" type="text" name="" id="userMobileVal" placeholder="请输入手机号码">
            </div>
        </div>
        <!-- 手机号码结束 -->
        <!-- 图形验证码开始 -->
        <div class="ipt_one" id="photoCode">
            <div class="ipt_left">
                <span class="ipt_require">*</span>
                图形验证码
            </div>
            <div class="ipt_right">
                <input  onblur="checkInputFn('photoCodeVal')" class="layui-input ipt_txt_short" type="text" name="" id="photoCodeVal" placeholder="请输入图形验证码">
                <div class="photo_code">
                    <img alt="点击刷新验证码" id="kaptchaKeyId"  onclick="reloadCodeImg()" src="" alt="">
                </div>
            </div>
        </div>
        <!-- 图形验证码结束 -->
        <!-- 手机验证码开始 -->
        <div class="ipt_one" id="smsCode">
            <div class="ipt_left">
                <span class="ipt_require">*</span>
                手机验证码
            </div>
            <div class="ipt_right">
                <input onblur="checkInputFn('smsCodeVal')" class="ipt_txt_short" type="text" name="" id="smsCodeVal" placeholder="请输入手机验证码">
                <button id="get_code" onclick="getVcode()" class="layui-btn sms_code">获取验证码</button>
            </div>
        </div>
        <!-- 手机验证码结束 -->
        <!-- 立即注册开始 -->
        <div class="ipt_one" id="smsm" style="margin-bottom: 10px;">
            <div class="ipt_left">
                
            </div>
            <div class="ipt_right">
                <div class="layui-btn register_btn" onclick="submitFn()">
                    立即注册
                </div>
            </div>
        </div>
        <!-- 立即注册结束 -->
        
        <div class="warn_bot_tips">
            <img  src="/avic/img/warn_tips.png" alt="">
            提交注册请求后，您可以以临时身份访问系统，需进行账户认证才能享受其他服务操作
        </div>
    
        <div style="width: 100%;height: 40px;clear: both;"></div>
    </div>
</div>
<!-- <div style="width: 100%;height: 60px;clear: both;"></div> -->
	 
	</body>
</html>